<template>
  <div class="admin-layout">
    <AdminSidebar />
    <div class="admin-main">
      <AdminHeader />
      <div class="admin-content">
        <router-view />
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import AdminSidebar from '@/components/admin/AdminSidebar.vue'
import AdminHeader from '@/components/admin/AdminHeader.vue'
</script>

<style scoped>
.admin-layout {
  display: flex;
  height: 100vh;
  background: #f5f6fa;
}
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.admin-content {
  flex: 1;
  padding: 32px;
  background: #f5f6fa;
}
</style> 